package com.wuge.gulimall.product.dao;

import com.wuge.gulimall.product.entity.AttrEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wuge.gulimall.product.vo.SkuItemSaleAttrVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 商品属性
 * 
 * @author ñÒ¹ÚÎé
 * @email 1712378864@qq.com
 * @date 2021-06-27 14:36:04
 */
@Mapper
public interface AttrDao extends BaseMapper<AttrEntity> {

    List<Long> SearchAttrBySpuId(@Param("idList") List<Long> idList);

    List<SkuItemSaleAttrVo>  getAttrs(@Param("spuId") Long spuId);
}
